package com.wyz.calibur.basic.controller;

import com.wyz.calibur.user.feign.UserFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @Author: wei yz
 * @Date: 2022/7/3 16:01
 */
@RestController
@RequestMapping("/menu")
public class MenuController {

    @Autowired
    private UserFeignService userFeignService;

    @GetMapping("/v1/get")
    public Object get() {
        return "测试feign接口："+userFeignService.username();
    }

}
